Optimal. Leaf size=292 \[ \frac{\left (-\sqrt{b^2-4 a c} (c d-b e)+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}-\frac{\left (\sqrt{b^2-4 a c} (c d-b e)+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}+\frac{\sqrt{d+e x^2}}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 3.59965, antiderivative size = 292, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.172, Rules used = {1251, 824, 826, 1166, 208} \[ \frac{\left (-\sqrt{b^2-4 a c} (c d-b e)+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}-\frac{\left (\sqrt{b^2-4 a c} (c d-b e)+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}+\frac{\sqrt{d+e x^2}}{c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1251
Rule 824
Rule 826
Rule 1166
Rule 208
Rubi steps
\begin{align*} \int \frac{x^3 \sqrt{d+e x^2}}{a+b x^2+c x^4} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{x \sqrt{d+e x}}{a+b x+c x^2} \, dx,x,x^2\right )\\ &=\frac{\sqrt{d+e x^2}}{c}+\frac{\operatorname{Subst}\left (\int \frac{-a e+(c d-b e) x}{\sqrt{d+e x} \left (a+b x+c x^2\right )} \, dx,x,x^2\right )}{2 c}\\ &=\frac{\sqrt{d+e x^2}}{c}+\frac{\operatorname{Subst}\left (\int \frac{-a e^2-d (c d-b e)+(c d-b e) x^2}{c d^2-b d e+a e^2+(-2 c d+b e) x^2+c x^4} \, dx,x,\sqrt{d+e x^2}\right )}{c}\\ &=\frac{\sqrt{d+e x^2}}{c}-\frac{\left (b c d-b^2 e+2 a c e-\sqrt{b^2-4 a c} (c d-b e)\right ) \operatorname{Subst}\left (\int \frac{1}{-\frac{1}{2} \sqrt{b^2-4 a c} e+\frac{1}{2} (-2 c d+b e)+c x^2} \, dx,x,\sqrt{d+e x^2}\right )}{2 c \sqrt{b^2-4 a c}}+\frac{\left (b c d-b^2 e+2 a c e+\sqrt{b^2-4 a c} (c d-b e)\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{1}{2} \sqrt{b^2-4 a c} e+\frac{1}{2} (-2 c d+b e)+c x^2} \, dx,x,\sqrt{d+e x^2}\right )}{2 c \sqrt{b^2-4 a c}}\\ &=\frac{\sqrt{d+e x^2}}{c}+\frac{\left (b c d-b^2 e+2 a c e-\sqrt{b^2-4 a c} (c d-b e)\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e}}-\frac{\left (b c d-b^2 e+2 a c e+\sqrt{b^2-4 a c} (c d-b e)\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}}\\ \end{align*}
Mathematica [A] time = 0.571325, size = 308, normalized size = 1.05 \[ \frac{\frac{\left (-c d \sqrt{b^2-4 a c}+b e \sqrt{b^2-4 a c}+2 a c e+b^2 (-e)+b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{e \sqrt{b^2-4 a c}-b e+2 c d}}\right )}{\sqrt{2} \sqrt{c} \sqrt{b^2-4 a c} \sqrt{e \left (\sqrt{b^2-4 a c}-b\right )+2 c d}}+\frac{\left (-c d \sqrt{b^2-4 a c}+b e \sqrt{b^2-4 a c}-2 a c e+b^2 e-b c d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{2} \sqrt{c} \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}+\sqrt{d+e x^2}}{c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.023, size = 275, normalized size = 0.9 \begin{align*} -{\frac{x}{2\,c}\sqrt{e}}+{\frac{1}{2\,c}\sqrt{e{x}^{2}+d}}+{\frac{d}{2\,c} \left ( \sqrt{e{x}^{2}+d}-\sqrt{e}x \right ) ^{-1}}+{\frac{1}{4\,c}\sum _{{\it \_R}={\it RootOf} \left ( c{{\it \_Z}}^{8}+ \left ( 4\,be-4\,cd \right ){{\it \_Z}}^{6}+ \left ( 16\,a{e}^{2}-8\,deb+6\,c{d}^{2} \right ){{\it \_Z}}^{4}+ \left ( 4\,b{d}^{2}e-4\,c{d}^{3} \right ){{\it \_Z}}^{2}+c{d}^{4} \right ) }{\frac{ \left ( -be+cd \right ){{\it \_R}}^{6}+ \left ( -4\,a{e}^{2}+3\,deb-3\,c{d}^{2} \right ){{\it \_R}}^{4}+d \left ( 4\,a{e}^{2}-3\,deb+3\,c{d}^{2} \right ){{\it \_R}}^{2}+b{d}^{3}e-c{d}^{4}}{{{\it \_R}}^{7}c+3\,{{\it \_R}}^{5}be-3\,{{\it \_R}}^{5}cd+8\,{{\it \_R}}^{3}a{e}^{2}-4\,{{\it \_R}}^{3}bde+3\,{{\it \_R}}^{3}c{d}^{2}+{\it \_R}\,b{d}^{2}e-{\it \_R}\,c{d}^{3}}\ln \left ( \sqrt{e{x}^{2}+d}-\sqrt{e}x-{\it \_R} \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e x^{2} + d} x^{3}}{c x^{4} + b x^{2} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{3} \sqrt{d + e x^{2}}}{a + b x^{2} + c x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]